package org.cnc.rmi.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;

import org.cnc.core.DetailModel;
import org.cnc.machine.CutterPosition;

public interface MachineControlInterface extends Remote {

	void makeStep( String cmd ) throws RemoteException;
	
	void makeStep() throws RemoteException;
	
	void setMode( String m) throws RemoteException;
	
	void generateCommands(DetailModel model) throws RemoteException;
	
	void setDelayTime( int delay ) throws RemoteException;

	void startMachine() throws RemoteException;
	
	void stopMachine() throws RemoteException;
	
	CutterPosition getCutterPosition() throws RemoteException;
}
